//
// QSDropDownListView.h
// myTest
//
// Created by Song on 2017/10/26.
// Copyright © 2017年 Song. All rights reserved.
//

#import <UIKit/UIKit.h>

@class QSDropDownListModel;

@interface QSDropDownListView : UIView
/**
 *  创建ListView
 *
 *  @param senderView 触发的控件
 *  @param dataArray 数据数组
 *  @param model 样式模型
 */
- (instancetype)initDropDownListViewWithSenderView:(UIView *)senderView dataArray:(NSArray<NSString *> *)dataArray andViewModel:(QSDropDownListModel *)model;

/**
 *  显示下拉列表
 */
- (void)showDropDownListView;

/** 选中哪一行 */
@property (nonatomic, copy) void (^selectedRowBlock)(QSDropDownListView *listView, NSInteger index);
@end
